﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Elysium.Demo
{
    /// <summary>
    /// Lógica de interacción para Window1.xaml
    /// </summary>
    public partial class WindowAyuda : Elysium.Controls.Window
    {
        public WindowAyuda(string URL, string Titulo)
        {
            InitializeComponent();

            webBrowser1.Navigate(Directory.GetCurrentDirectory() + "\\_Ayuda\\" + URL);
            this.Title = Titulo;
        }

        private void ButtonCerrar_Click(object sender, RoutedEventArgs e)
        {
            this.Close();            
        }
    }
}
